<template>
  <div>
    CarsView组件
    {{ num }}
  </div>
</template>

<script setup>
import { defineExpose } from "vue";
import { ref } from "vue";
let num = ref(33);
function fn1(){
console.log('11111');
}

defineExpose({
    num,
    fn1,
})
</script>
